import React from 'react';
// Outlet 可以挂载子路由
import { Outlet, NavLink } from 'react-router-dom'
import './Index.css'
const Index = () => {
    return (
        <div>
            <NavLink to='/music/news'>最新音乐</NavLink>
            <NavLink to='/music/hot'>热门音乐</NavLink>
            <Outlet></Outlet>
        </div>
    );
}

export default Index;